package hong.jun.pet_home.service.user;


import hong.jun.basic.base.service.IBaseService;
import hong.jun.basic.util.AjaxResult;
import hong.jun.pet_home.domain.user.User;
import hong.jun.pet_home.domain.ato.Userato;

public interface IUserService extends IBaseService<User> {
    /**
     * 邮箱验证码
     */
    AjaxResult userVerifycodeemail(String email);

    /**
     * 手机验证码
     */
    AjaxResult userVerifycodephone(String phone);

    /**
     * 邮箱注册
     */
    AjaxResult RegisterEmail(Userato userato);

    /**
     * 用户登录
     */
    AjaxResult Userlogin(User user);
}
